package com.xiaoxu.content.model.dto;

import com.xiaoxu.content.model.po.Teachplan;
import com.xiaoxu.content.model.po.TeachplanMedia;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

/**
 * @author xiaoxu
 * @version 1.0
 * @description 课程计划树型结构dto
 * @date 2023/1/17 21:23
 */

@EqualsAndHashCode(callSuper = true)
@Data
@ToString
public class TeachplanDto extends Teachplan {

    /**
     * 课程计划关联的媒资信息
     */
    private TeachplanMedia teachplanMedia;

    /**
     * 子结点
     */
    private List<TeachplanDto> teachPlanTreeNodes;
}
